package org.ns.summer.beans;

import org.ns.summer.beans.definition.BeanDefinition;
import org.ns.summer.beans.error.BeansException;

public interface BeanDefinitionRegistry {
    /**
     * 注册 Bean
     * @param beanName
     * @param beanDefinition
     * @throws BeansException
     */
    void registerBeanDefinition(String beanName, BeanDefinition beanDefinition)
            throws BeansException;
    String[] getBeanDefinitionNames();

}
